<tagLib name="html" />
<include file="Public:header" />
<script charset="utf-8" src="/Public/ueditor/editor_config2.js"></script>
<script charset="utf-8" src="/Public/ueditor/editor_all_min.js"></script>
<style type="text/css">
.STYLE1 {color:#FF0000}
</style>

<div style="width:100%; height:15px;color:#000;margin:0px 0px 10px;">
    <div style="float:left;"><a href="{YICMS::U('Index/stat')}" target="main"><b>控制面板首页</b></a>&nbsp;&raquo;&nbsp;编辑自定义页面</div>
</div>
<form action="{YICMS::U('About/amend')}" method="post">
<input type="hidden" name="id" value="{YICMS:$list.id}"/>
<table cellspacing="0" cellpadding="0" width="100%" align="center">
  <tr class="header">
    <td width="85%">编辑自定义页面</td>
	<td style="text-align:right;color:red;"><a style="color:red;" onclick="alert('<literal>{YICMS:</literal>:U(\'Page/{YICMS:$list.id}\')}');">? 查看前台调用方法</a></td>
  </tr>
</table>  
<table cellspacing="1" cellpadding="4" width="100%" align="center" class="tableborder"> 
  <tr>
    <td class="altbg1" width="10%"><b>页面名称:</b></td>
    <td class="altbg2" width="39%"><input name="name" type="text" size="53" value="{YICMS:$list.name}"/></td>
    <td width="51%" class="altbg1">&nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;自定义页面的名称！</td>
  </tr>
  <tr>
    <td class="altbg1" width="10%"><b>页面副标题:</b></td>
    <td class="altbg2" width="39%"><input name="sname" type="text" size="53" value="{YICMS:$list.sname}"/></td>
    <td width="51%" class="altbg1">&nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;自定义页面的副标题！</td>
  </tr>
  <tr>
    <td class="altbg1" width="10%"><b>模板名称:</b></td>
    <td class="altbg2" width="39%"><input name="pagepage" type="text" size="53" value="{YICMS:$list.pagepage}"/></td>
    <td width="51%" class="altbg1">&nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;模板名称！默认为Index_page.html *模板名称规格"Index_***.html"</td>
  </tr>
  <tr>
    <td class="altbg1" width="10%"><b>文件存放名:</b></td>
    <td class="altbg2" width="39%"><input name="pagename" type="text" size="53" value="{YICMS:$list.pagename}"/></td>
    <td width="51%" class="altbg1">&nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;HTML文件存放的名字！名字规格"***.html.目录为网站根目录的page目录.必填!</td>
  </tr>
  <tr>
    <td class="altbg1" width="10%"><b>SEO标题:</b></td>
    <td class="altbg2" width="39%"><textarea name="title" cols="50" rows="3">{YICMS:$list.title}</textarea></td>
    <td width="51%" class="altbg1">&nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;SEO标题一般不超过80个字符！<br/>
      &nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;若不需要单页优化，可不填写！ <br/>
	  &nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;不填写默认为"<span class="STYLE1">页面名称－网站名称</span>"！	 </td>
  </tr>
  <tr>
    <td class="altbg1" width="10%"><b>SEO关键词:</b></td>
    <td class="altbg2" width="39%"><textarea name="keywords" cols="50" rows="3">{YICMS:$list.keywords}</textarea></td>
    <td width="51%" class="altbg1">&nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;SEO关键词一般不超过100个字符！<br/>
      &nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;若不需要单页优化，可不填写！<br/>
	  &nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;不填写默认为<span class="STYLE1">&quot;网站的关键词&quot;</span>！	 </td>
  </tr>
  <tr>
    <td class="altbg1" width="10%"><b>SEO描述:</b></td>
    <td class="altbg2" width="39%"><textarea name="description" cols="50" rows="6">{YICMS:$list.description}</textarea></td>
    <td width="51%" class="altbg1">&nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;SEO描述一般不超过200个字符！<br/>
      &nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;若不需要单页优化，可不填写！<br/>
	  &nbsp;&nbsp;&nbsp;&nbsp;»&nbsp;不填写默认为&quot;<span class="STYLE1">网站的描述&quot;</span>！	</td>
  </tr>
  <tr>
    <td class="altbg1" width="10%"><b>页面内容:</b></td>
    <td colspan="2" class="altbg2">
        <textarea name="content" id="myEditor">{YICMS:$list.content}</textarea>
				<script type="text/javascript">
					var editor = new UE.ui.Editor();
					editor.render("myEditor");
					editor.getAllHtml();
					//1.2.4以后可以使用一下代码实例化编辑器
				   //UE.getEditor('myEditor')
				</script>
	</td>
  </tr>
</table>
<br>
    <center><input type="submit" class="button" value="修 改"></center><br>
</form>
<br>
<include file="Public:footer" />